//
//  ProfileViewController.h
//  cliqset
//
//  Created by David Hinson on 2/25/09.
//  Copyright 2009 Cliqset, Inc.. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "HoverView.h"
#import "StatusView.h"

@interface ProfileViewController : UIViewController <UITableViewDelegate, UITableViewDataSource> {

	IBOutlet UITableView * profile;
	
	UIView *header;
	
	UILabel *myName;
	UILabel *myStatus;
	UILabel *myStamp;
	
	NSMutableArray* links;	

	IBOutlet HoverView *hoverView;
	IBOutlet StatusView *statusView;
	
	UIButton * statusButton;
	
	UIView *      imageBackground;
	UIImageView * profilePic;
}

@property (retain, nonatomic) UITableView * profile;
@property (retain, nonatomic) HoverView * hoverView;
@property (retain, nonatomic) StatusView * statusView;
@property (retain, nonatomic) UIView * header;
@property (retain, nonatomic) UILabel * myName;
@property (retain, nonatomic) UILabel * myStatus;
@property (retain, nonatomic) UILabel * myStamp;
@property (retain, nonatomic) NSMutableArray * links;
@property (retain, nonatomic) UIButton * statusButton;
@property (retain, nonatomic) UIImageView * profilePic;
@property (retain, nonatomic) UIView * imageBackground;

-(IBAction)doRefresh:(id)id;
-(IBAction)doStatus:(id)id;
-(void)loadHeader;
-(void)reloadData;
-(void)showHoverView:(BOOL)show;
-(void)showStatusView:(BOOL)show;
-(void)setHeaderName:(NSString*)name;
-(void)setHeaderStatus:(NSString*)status timestamp:(NSString*)timestamp;
-(void)setHeaderStatus:(NSString*)status timeStamp:(NSDate*)timeStamp;

@end
